package cn.hanyx.vlog.videoservice.mapper;


import cn.hanyx.vlog.videoservice.entity.Video;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * VideoMapper
 *
 * @author hanyx
 * @date 2021/11/04
 */
@Mapper
public interface VideoMapper {

    @Select("select * from video where article_id = #{value}")
    public Video findByArticleId(Long articleId);
}
